API reference for cpprb

cpprb Package

Functions

create_before_add_func(env)

Create function to be used before ReplayBuffer.add

create_buffer(size[, env_dict, prioritized])

Create specified version of replay buffer

create_env_dict(env, *[, int_type, float_type])

Create env_dict from Open AI gym.space for ReplayBuffer.__init__

train(ReplayBuffer buffer, env, get_action, …)

Train RL policy (model)

Classes

PrioritizedReplayBuffer(size[, env_dict, …])

Prioritized replay buffer class to store transitions with priorities.

ReplayBuffer(size[, env_dict, next_of, …])

Replay Buffer class to store transitions and to sample them randomly.

Class Inheritance Diagram

Inheritance diagram of cpprb.PyReplayBuffer.PrioritizedReplayBuffer, cpprb.PyReplayBuffer.ReplayBuffer

Indices and tables